﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HouseHold.cs" company="DST Nexdox">
//   Copyright (c) DST Nexdox. All rights reserved.
// </copyright>
// <summary>
//   Defines the HouseHold type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Entities
{
  using System;
  using System.ComponentModel.DataAnnotations;
  using System.ComponentModel.DataAnnotations.Schema;

  public class HouseHold
  {
    [ForeignKey("Document")]
    [Key]
    public Int32 DocumentId { get; set; }

    [ForeignKey("HouseHoldingRun")]
    public Int32 HouseHoldingRunId { get; set; }

    public HouseHoldingRun HouseHoldingRun { get; set; }

    public DateTime? HouseHoldDate { get; set; }

    public virtual Document Document { get; set; }
  }
}
